import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  name: 'employees',
  children: [
    {
      path: '', // 开头不是/号,所以它是一个相对值,父级path+当前path
      name: 'employees',
      component: () => import('@/views/employees/index'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'detail', // 开头不是/号,所以它是一个相对值,父级path+当前path
      name: 'detail',
      hidden: true,
      component: () => import('@/views/employees/detail'),
      meta: { title: '详情' }
    },
    {
      hidden: true,
      path: 'upload', // 开头不是/号,所以它是一个相对值,父级path+当前path
      name: 'upload',
      component: () => import('@/views/employees/upload')
    },
    {
      hidden: true,
      path: 'print', // 开头不是/号,所以它是一个相对值,父级path+当前path
      name: 'print',
      component: () => import('@/views/employees/print')
    }
  ]
}
